package cn.com.yx.ms.persistence;

import cn.com.yx.ms.application.web.ApiQueryBase;
import cn.com.yx.ms.domain.dbmodel.GgMain;
import cn.com.yx.ms.domain.dbmodel.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GgMainMapper {
    int deleteByPrimaryKey(String guid);

    int insert(GgMain record);

    int insertSelective(GgMain record);

    GgMain selectByPrimaryKey(String guid);

    int updateByPrimaryKeySelective(GgMain record);

    int updateByPrimaryKey(GgMain record);

    List<GgMain> find(ApiQueryBase query);

    List<GgMain> findAll();

    List<GgMain> findByDevsn(@Param("devsn")String devsn);

    List<GgMain> findByEquipmentNo(@Param("equipmentno")String equipmentno);

}